package ooad.gof.observer.book;

public class Client {
	public static void main(String[] args) {
		
		Book book = new Book("设计模式",52);
		PriceListener pl = new PriceListener();
		book.addObserver(pl);
		book.setPrice(35);
	}
}
